sqlite.create capacitor cannot read property then of undefined
110
// note: This code needs to be run on a device, not in a PC browser.
// if you
let connection = this.sqlite.create({
name: 'cards.db',
location: 'default'
});
// se a conexão for válida
if(connection)
connection.then((db: SQLiteObject) => {})